package com.ding.manager.controller.base;

import javax.servlet.http.HttpServletRequest;

import com.ding.manager.filter.DTSessionFilter;
import com.ding.manager.util.PageData;
import com.ding.manager.vo.DTUser;

/**
 * <pre>
 * 对象功能:Manager平台Controller基类
 * 开发人员:lixin
 * 创建时间:2018-05-31
 * </pre>
 */
public class ManagerBaseController extends BaseController {

	@Override
	public PageData getPageData() {
		HttpServletRequest request = this.getRequest();
		PageData returnPd = new PageData(request);
		DTUser dtUser = DTSessionFilter.getDTUser(request);
		if (dtUser != null) {
			returnPd.put("createUserId", dtUser.getUserId());
		}else {
			returnPd.put("createUserId", "176");
		}
		return returnPd;
	}

}
